﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Q.M.Sell.Doamin.DTO
{
    public class salesShowDTO
    {
        /// <summary>
        /// 销售单号
        /// </summary>
        public string salesid { get; set; }
        /// <summary>
        /// 销售订单主题
        /// </summary>
        public string? sales_order_subject { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? customer_name { get; set; }
        /// <summary>
        /// 销售日期
        /// </summary>
        public DateTime? sales_date { get; set; }
        /// <summary>
        /// 产品概要
        /// </summary>
        public string? product_summary { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public decimal totalmoney { get; set; }
        /// <summary>
        /// 优惠后金额
        /// </summary>
        public decimal amount_after_concession { get; set; }
        /// <summary>
        /// 已收金额
        /// </summary>
        public decimal amount_received { get; set; }

        /// <summary>
        /// 已开票金额
        /// </summary>
        public decimal invoiced_amount { get; set; }

        /// <summary>
        /// 出库
        /// </summary>
        public bool stock_removal { get; set; }

        /// <summary>
        /// 开票
        /// </summary>
        public bool make_out_an_invoice { get; set; }

        /// <summary>
        /// 收款
        /// </summary>
        public bool gathering { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime selldate { get; set; } = DateTime.Now;
    }
}
